package cn.doitedu.day03

import scala.collection.mutable._

/**
 * ListBuffer是可变的List，用法与ArrayBuffer几乎一样
 *
 *
 *
 */
object ListBufferDemo {

  def main(args: Array[String]): Unit = {

    val lst = new ListBuffer[Int]()

    lst += 5
    lst ++= Array(1,2,3)



  }
}
